﻿using System;
using VirtualRink.Library;
using VirtualRink.Library.Simulation;

namespace VirtualRink.Web.Tests.Library
{
	public class TestSimulator : ISimulator
	{
		public void Simulate(Game game)
		{
			Random random = new Random();
			game.HomeGoals = random.Next(0, 20);
			game.VisitorGoals = random.Next(0, 20);
			game.Played = true;
		}
	}
}
